#include<iostream>

using namespace std;

typedef long long signed int ulint;
ulint n, m;

int main() {
   while(cin >> n >> m) {
      ulint result = n-m;
      if(result < 0)
        result = -result;
      cout << result << endl;   
   }
   return 0;
}
